import Vue from 'vue';
import Vuex from 'vuex';
import common from './modules/common';
import tabbar from './modules/tabbar';
import selects from './modules/selects';
import guide from './modules/guide';
import task from './modules/task';
import getters from './getter';
import service from '../utils/service';
import baiduPush from '../utils/baiduStatistics';

Vue.use(Vuex);

let store = new Vuex.Store({
	modules: {
		common,
		tabbar,
		selects,
		guide,
		task
	},
	getters,
	service
});
store.service = service;
store.baiduPush = baiduPush;
export default store;
